﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Services.Operation
{
    public class OperationServices : IOperationServices
    {
        private Domain.Repository.IOperModelRepository _OperModelRepository = (Domain.Repository.IOperModelRepository)Spring.Context.Support.ContextRegistry.GetContext().GetObject("OperModelRepository");

        public bool SaveOperModel(Domain.Entities.OperModel entity)
        {
            return _OperModelRepository.SaveOperModel(entity);
        }
    }
}